package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

	beego.GlobalControllerRouter["chess_platform/controllers/pb:AgentController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:AgentController"],
		beego.ControllerComments{
			Method: "ListLevelUser",
			Router: `/formal/list-level-user`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:AgentController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:AgentController"],
		beego.ControllerComments{
			Method: "UpdateBonusRate",
			Router: `/formal/update-bonus-rate`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:AgentController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:AgentController"],
		beego.ControllerComments{
			Method: "ListInformalPfUser",
			Router: `/informal/list-unofficial-h5user`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:AgentController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:AgentController"],
		beego.ControllerComments{
			Method: "MakeAgentFormal",
			Router: `/informal/make-agent-formal`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:AgentController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:AgentController"],
		beego.ControllerComments{
			Method: "ManualReview",
			Router: `/informal/manual-review`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:FinanceController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:FinanceController"],
		beego.ControllerComments{
			Method: "ListCashRecord",
			Router: `/list-cash-record`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:HomeController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:HomeController"],
		beego.ControllerComments{
			Method: "ListGroupPlayer",
			Router: `/list-group-player`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:HomeController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:HomeController"],
		beego.ControllerComments{
			Method: "ListHome",
			Router: `/list-home`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:LoginController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:LoginController"],
		beego.ControllerComments{
			Method: "Captcha",
			Router: `/captcha`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:LoginController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:LoginController"],
		beego.ControllerComments{
			Method: "Home",
			Router: `/home`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:LoginController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:LoginController"],
		beego.ControllerComments{
			Method: "Login",
			Router: `/login`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:UserController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:UserController"],
		beego.ControllerComments{
			Method: "Card",
			Router: `/card`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:UserController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:UserController"],
		beego.ControllerComments{
			Method: "Logout",
			Router: `/user/logout`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:UserController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:UserController"],
		beego.ControllerComments{
			Method: "UpdateUser",
			Router: `/user/update-user`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["chess_platform/controllers/pb:UserController"] = append(beego.GlobalControllerRouter["chess_platform/controllers/pb:UserController"],
		beego.ControllerComments{
			Method: "UserInfo",
			Router: `/user/user-info`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

}
